package com.yanqu.road.logic.sort;

import com.yanqu.road.entity.rank.ServerRank;

import java.util.Comparator;

public class ServerRankSort implements Comparator<ServerRank> {
    @Override
    public int compare(ServerRank o1, ServerRank o2) {
        return o2.getValue().compareTo(o1.getValue());
    }
}
